/***********************************************
 * Title:       Score.java
 * Description: Score.java
 * Author:      Niyuzhe
 * Create Date: 2010-2-4
 * CopyRight:   CopyRight(c)@2009
 * Company:     TJUSCS
 * Version:     1.0
 ***********************************************
 */
package edu.tju.education.model;

/**
 * @author Niyuzhe
 *
 */
public class Score
{
        private long id;
        private long studentId;
        private long examId;
        private double mark;
        /**
         * @return the id
         */
        public long getId()
        {
                return id;
        }
        /**
         * @param id the id to set
         */
        public void setId(long id)
        {
                this.id = id;
        }
        /**
         * @return the student_id
         */
        public long getStudentId()
        {
                return studentId;
        }
        /**
         * @param studentId the student_id to set
         */
        public void setStudentId(long studentId)
        {
                this.studentId = studentId;
        }
        /**
         * @return the exam_id
         */
        public long getExamId()
        {
                return examId;
        }
        /**
         * @param examId the exam_id to set
         */
        public void setExamId(long examId)
        {
                this.examId = examId;
        }
        /**
         * @return the mark
         */
        public double getMark()
        {
                return mark;
        }
        /**
         * @param mark the mark to set
         */
        public void setMark(double mark)
        {
                this.mark = mark;
        }
        /* (non-Javadoc)
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString()
        {
                return "Score [exam_id=" + examId + ", id=" + id + ", mark=" + mark
                                + ", student_id=" + studentId + "]";
        }
}
